[INFO] cloning repository https://github.com/gustavoquincy/leetcode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gustavoquincy/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavoquincy%2Fleetcode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavoquincy%2Fleetcode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] db53df4fe4bfa458cd82c120603ab98f86a2f4b3
[INFO] building gustavoquincy/leetcode against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavoquincy%2Fleetcode" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gustavoquincy/leetcode on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/gustavoquincy/leetcode
[INFO] finished tweaking git repo https://github.com/gustavoquincy/leetcode
[INFO] tweaked toml for git repo https://github.com/gustavoquincy/leetcode written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/gustavoquincy/leetcode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 58ee5d423b0f01f6178ebb1636158d1619b67ccec434ddc63f8a9f5f5acf89b9
[INFO] running `Command { std: "docker" "start" "-a" "58ee5d423b0f01f6178ebb1636158d1619b67ccec434ddc63f8a9f5f5acf89b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58ee5d423b0f01f6178ebb1636158d1619b67ccec434ddc63f8a9f5f5acf89b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58ee5d423b0f01f6178ebb1636158d1619b67ccec434ddc63f8a9f5f5acf89b9", kill_on_drop: false }`
[INFO] [stdout] 58ee5d423b0f01f6178ebb1636158d1619b67ccec434ddc63f8a9f5f5acf89b9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4bed890455c043b89cb594a2d515a91c91386bdbc6c9f95abf847b33d7fb1046
[INFO] running `Command { std: "docker" "start" "-a" "4bed890455c043b89cb594a2d515a91c91386bdbc6c9f95abf847b33d7fb1046", kill_on_drop: false }`
[INFO] [stderr]    Compiling leetcode_problem_set v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope
[INFO] [stdout]   --> src/trapping_rain_water.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |             let eval0 = head2tail_eval(&vec, head_index as i32);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope
[INFO] [stdout]   --> src/trapping_rain_water.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |                 eval = head2tail_eval(&vec, head_index as i32);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `head2tail_eval` in this scope
[INFO] [stdout]   --> src/trapping_rain_water.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |             sum += head2tail_eval(&vec, (head_index+1) as i32);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `<i32 as Sub<_>>::Output == _`
[INFO] [stdout]   --> src/trapping_rain_water.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 |         return k - height.iter().sum() + first + last;
[INFO] [stdout]    |                  ^ cannot satisfy `<i32 as Sub<_>>::Output == _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0284, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0284`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode_problem_set`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4bed890455c043b89cb594a2d515a91c91386bdbc6c9f95abf847b33d7fb1046", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bed890455c043b89cb594a2d515a91c91386bdbc6c9f95abf847b33d7fb1046", kill_on_drop: false }`
[INFO] [stdout] 4bed890455c043b89cb594a2d515a91c91386bdbc6c9f95abf847b33d7fb1046
